using System.Text;
using System;
using System.Collections.Generic;
using AmazeUI;
using AmazeUI.Imodel;
namespace AmazeUI.db
{
    public partial class XtLog
    {
        public XtLog() { }
        public XtLog(IXtLog model)
            : this()
        {
         
            SetModel(model);
            this.AddTime = DateTime.Now;
        }
        public void SetModel(IXtLog model)
        {
        
            this.Remarks = model.Remarks;
            this.UsingIp = model.UsingIp;
            this.Url = model.Url;
            this.Controllers = model.Controllers;
            this.Action = model.Action;
            this.Userid = model.Userid;
            this.LogTypeId = model.LogTypeId;

        }

    }
}
